package com.goodlearning.gloriamobile.dto;

import java.io.Serializable;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Bank 관련 계좌 ,은행이름, 예금주
 * @author rapty54
 *
 */
public class GetPaymentBankViewDto implements Serializable,Parcelable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -3156493726500534663L;
	private String BankName;
	private String BankOwner;
	private String BankAccount;
	
	public String getBankName() {
		return BankName;
	}
	public void setBankName(String bankName) {
		BankName = bankName;
	}
	public String getBankOwner() {
		return BankOwner;
	}
	public void setBankOwner(String bankOwner) {
		BankOwner = bankOwner;
	}
	public String getBankAccount() {
		return BankAccount;
	}
	public void setBankAccount(String bankAccount) {
		BankAccount = bankAccount;
	}
	
	public GetPaymentBankViewDto() {
		
	}
	
	public GetPaymentBankViewDto(Parcel in) {
		readFromParcel(in);
	}
	
	public static final Parcelable.Creator CREATOR=new Parcelable.Creator() {

		@Override
		public GetPaymentBankViewDto createFromParcel(Parcel in) {
			return new GetPaymentBankViewDto(in);
		}

		@Override
		public GetPaymentBankViewDto[] newArray(int size) {
			return new GetPaymentBankViewDto[size];
		}
	};
	
	@Override
	public int describeContents() {
		
		return 0;
	}
	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(BankName);
		dest.writeString(BankOwner);
		dest.writeString(BankAccount);
	}
	
	private void readFromParcel(Parcel in) {
		BankName=in.readString();
		BankOwner=in.readString();
		BankAccount = in.readString();
	}
}
